<h2>Sign up</h2>

<% resource.build_client %>
<%= form_for(resource, :as => resource_name, :url => registration_path(resource_name)) do |f| %>
    <%= devise_error_messages! %>

    <%= fields_for :client do |c| %>

        Nombre / Raz&oacute;n Social: <%= c.text_field :name %><br/>
        CUIT: <%= c.text_field :cuit %><br/>
        Direcci&oacute;n: <%= c.text_field :address %><br/>
        Provincia / Localidad: <%= c.text_field :province %><br/>
        Email: <%= c.text_field :email %><br/>
        Tel&eacute;fono: <%= c.text_field :phone %><br/>
        C&oacute;digo Postal: <%= c.text_field :zip_code %><br/>

    <% end %>

    <div><%= f.label :login, 'Usuario' %><br />
    <%= f.text_field :login %></div>

    <div><%= f.label :password, 'Contraseña' %><br />
    <%= f.password_field :password %></div>

    <div><%= f.label :password_confirmation, 'Confirmar Contraseña' %><br />
    <%= f.password_field :password_confirmation %></div>

    <div><%= f.submit "Registrar" %></div>
<% end %>

<%#= render :partial => "devise/shared/links" %>